package MAgentAssignment.ontology.concepts;

import jade.content.Concept;

/**
 * Created by IntelliJ IDEA.
 * User: prageeth
 * Date: 2/16/12
 * Time: 6:55 AM
 * To change this template use File | Settings | File Templates.
 */
public class Flight implements Concept
{
    private String flightNo;
    private Airport fromAirport;
    private Airport toAirport;

    private long startTimeInMilis;
    private long maxStayTimeinMillis;
    private Speed speed = new Speed();
    private Plane plane = new Plane();
    private Airline airline = new Airline();
    private String agentName;
    boolean landed = false;


    public String getAgentName()
    {
        return agentName;
    }

    public void setAgentName( String agentName )
    {
        this.agentName = agentName;
    }

    public boolean isLanded()
    {
        return landed;
    }

    public void setLanded( boolean landed )
    {
        this.landed = landed;
    }

    @Override public String toString()
    {
        return flightNo;
    }

    public Flight( String flightNo )
    {
        this.flightNo = flightNo;
    }

    public Plane getPlane()
    {
        return plane;
    }

    public void setPlane( Plane plane )
    {
        this.plane = plane;
    }

    public Airline getAirline()
    {
        return airline;
    }

    public void setAirline( Airline airline )
    {
        this.airline = airline;
    }

    public Speed getSpeed()
    {
        return speed;
    }

    public void setSpeed( Speed speed )
    {
        this.speed = speed;
    }

    public String getFlightNo()
    {
        return flightNo;
    }

    public void setFlightNo( String flightNo )
    {
        this.flightNo = flightNo;
    }

    public Airport getFromAirport()
    {
        return fromAirport;
    }

    public void setFromAirport( Airport fromAirport )
    {
        this.fromAirport = fromAirport;
    }

    public Airport getToAirport()
    {
        return toAirport;
    }

    public void setToAirport( Airport toAirport )
    {
        this.toAirport = toAirport;
    }

    public long getStartTimeInMilis()
    {
        return startTimeInMilis;
    }

    public void setStartTimeInMilis( long startTimeInMilis )
    {
        this.startTimeInMilis = startTimeInMilis;
    }

    public long getMaxStayTimeinMillis()
    {
        return maxStayTimeinMillis;
    }

    public void setMaxStayTimeinMillis( long maxStayTimeinMillis )
    {
        this.maxStayTimeinMillis = maxStayTimeinMillis;
    }
}
